package com.cbgolf.oa.contract;

import com.cbgolf.oa.base.IBaseView;
import com.cbgolf.oa.entity.LatLon;
import com.cbgolf.oa.entity.ParkBean;
import com.cbgolf.oa.event.EventPark;
import com.cbgolf.oa.waiter.IBaseWaiter;
import java.util.List;

/**
 * @author lq
 * @date 2018/4/27
 */

public interface IParkMapContract {

  interface IParkMapView extends IBaseView<EventPark> {

    void showPlayerNumInPark(int num);
    void showParkWayRatio(EventPark event);
  }

  interface IParkMapModel {

    void getStatisticsInfo();

    void filterCaddieNum(ParkBean bean);

    void filterId(List<LatLon> list);

    void filterCaddieWorking(ParkBean bean);

    void getFirWayLatlon();
    void requestUserInfo(String userId,int type);
  }

  interface IParkMapPresenter {

    void getStatisticsInfo();

    void filterCaddieNum(ParkBean bean);

    void filterId(List<LatLon> list);

    void filterCaddieWorking(ParkBean bean);

    void getFirWayLatlon();
    void requestUserInfo(String userId,int type);

  }

  interface IParkMapWaiter extends IBaseWaiter {

    void refresh();

    void showPlayerPlaying();

    void showPlayerOfNoReg();

    void showCarOfUsing();

    void showCaddieOfWorking();

    void upDataCaddiePlayerWorkerLocation(ParkBean bean);
  }


}
